<%--
	User: dizem@126.com
	Time: 11-6-27 上午10:51
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv=content-type
        content="text/html; charset=UTF-8;charset=utf-8"/>
  <title>添加商户</title>
  <link rel="stylesheet" href="../css/index.css" type="text/css" media="screen" charset="utf-8"/>
  <script type="text/javascript" src="../js/jquery-1.6.js"></script>
  <script type="text/javascript">
    $(document).ready(function() {
      $('#merchant_li').attr("class", "current")
    })
  </script>
</head>
<body>
<jsp:include page="../common/adminHeader.jsp"/>
<div id="bd" class="cf">
  <div id="user">
    <div class="dashboard" id="dashboard">
      <ul>
        <li>
          <a href="/admin/listMerchant.action">商户列表</a><span></span>
        </li>
        <li class="current">
          <a href="#">添加商户</a><span></span>
        </li>
      </ul>
    </div>
    <div id="content" class="clear mainwide">
      <div class="clear box">
        <div class="box-top"></div>
<div class="box-content">
<div class="head">
  <h2>添加商户</h2>
</div>
<div class="sect">
  <s:form namespace="/admin" action="addMerchant" method="post"
          theme="simple">
    <input type="hidden" name="merchant.password"/>

    <div class="wholetip clear">
      <h3>1、基本信息</h3>
    </div>
    <div class="field">
      <label for="txt_name">商户名称</label>
      <s:textfield id="txt_name" size="10" name="merchant.name"
                   cssClass="f-input"/>
    </div>
    <div class="field">
      <label for="txt_url">网站地址</label>
      <s:textfield id="txt_url" size="100" name="merchant.url"
                   cssClass="f-input"/>
    </div>
    <div class="field">
      <label for="txt_phone">联系电话</label>
      <s:textfield id="txt_phone" size="100" name="merchant.phoneNumber"
                   cssClass="f-input"/>
    </div>
    <div class="field">
      <label for="txt_address">地址</label>
      <s:textarea id="txt_address" name="merchant.address"
                  cssClass="f-textarea" rows="5" cols="45"/>
    </div>
    <div class="wholetip clear">
      <h3>32、银行信息</h3>
    </div>
    <div class="field">
      <label for="txt_bankName">开户行</label>
      <s:textfield id="txt_bankName" size="100" name="merchant.bankName"
                   cssClass="f-input"/>
    </div>
    <div class="field">
      <label for="txt_bankNumber">银行账号</label>
      <s:textfield id="txt_bankNumber" size="100" name="merchant.bankNumber"
                   cssClass="f-input"/>
    </div>
    <div class="act">
      <s:submit value="保存" name="commit" id="submit" cssClass="formbutton"/>
      <input type="button" value="返回" onclick="location.href = '/admin/listMerchant.action'"
             class="formbutton"/>
    </div>
  </s:form>
</div>
        </div>
        <div class="box-bottom"></div>
      </div>
    </div>
    <div id="sidebar"></div>
  </div>
</div>
<jsp:include page="../common/footer.jsp"/>
</body>
</html>
		